package cn.yuli.controller;

import cn.yuli.commad.Command;
/**
 * 简单控制对象
 * @author yuli
 *
 */
public class SimpleRemoteController {
	Command slot;
	public void setCommand(Command command){
		slot = command;
	}
	public void buttonWasPressed(){
		slot.excute();
	}
}
